package com.zzb.weikeautosign.param;

import com.zzb.weikeautosign.SecurityUtils;
import org.apache.log4j.Logger;

import java.util.TreeMap;

/**
 * 签到
 * Created by 瑱彬 on 2016/1/17.
 */
/*
sign		76346a1706606ae635afb05023b42193
deviceModel	MI
device		1
timestamp	1452911926976
appVersion	5.1
ticket		FF8080815241932E01524847DBA81318
userId		8A18E2DA4F8D7591014FBA4562926B7C
 */
public class SignInParam extends BaseParam{
    private static final Logger log = Logger.getLogger(SignInParam.class);

    private String ticket;
    private String userId;
    public SignInParam(String ticket, String userId){
        this.ticket = ticket;
        this.userId = userId;
        sign = SecurityUtils.getHttpParamsSecuryKey(toMap());
    }

    public String getTicket() {
        return ticket;
    }

    public String getUserId() {
        return userId;
    }

}
